Capture

interface Capture : Parcelable

A single entry in a heterogeneous capture stack. Returned inside CameraResult.Captures for any CaptureType: video-only sessions yield Capture.Video entries, photo sessions yield Capture.Photo entries, and mixed sessions yield a stack of both.

Inheritors

Types

Link copied to clipboard
object Companion
Link copied to clipboard
data class Photo(val uri: Uri, val clipDuration: Duration) : Capture

A still photo capture written to the app's files directory.

Link copied to clipboard
data class Video(val recording: Recording) : Capture

A video capture, wrapping an existing Recording.

Functions

Link copied to clipboard
open override fun describeContents(): Int
Link copied to clipboard
abstract override fun writeToParcel(dest: Parcel, flags: Int)